Skip to content

Conversation

Duhemm
Copy link
Contributor

@Duhemm Duhemm commented Oct 9, 2018

We used to check the positions in findTreesMatching and exclude trees
where the position is not source-derived. It turns out that this is
wrong, because this will exclude all trees that have been unpickled.

The correct test, checking whether the position has a zero extent, is
already done in namedTrees.

We used to check the positions in `findTreesMatching` and exclude trees
where the position is not source-derived. It turns out that this is
wrong, because this will exclude all trees that have been unpickled.

The correct test, checking whether the position has a zero extent, is
already done in `namedTrees`.
Copy link
Member

@smarter smarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should make an issue to remember to add infrastructure to test stuff coming from tasty.

@Duhemm
Copy link
Contributor Author

Duhemm commented Oct 9, 2018

I opened #5223

@Duhemm Duhemm merged commit 7a45a4a into scala:master Oct 9, 2018
@Duhemm Duhemm deleted the fix/ide-positions branch October 9, 2018 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants